package top.csy8888.ch09.vo;

/**
 * @author wangl
 * @date 2025/9/18
 *
 * 消息的包裹对象
 */
public class Message<T> {
    /**
     * 消息类型
     */
    private String type;
    /**
     * 某个消息对象
     */
    private T message;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public T getMessage() {
        return message;
    }

    public void setMessage(T message) {
        this.message = message;
    }
}